#include <bits/stdc++.h>
using namespace std;
#define int long long
#define endl '\n'
int n,m,k,T;

signed main(){
	ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
	cin >> T;
	while(T--) {
		cin >> n;
		for(int i = 0;i < n; ++ i) {
			cout << n - i << " ";
		}
		cout << endl;
	}
	
	return 0;
}